package com.hc.model.code04.test5.before;

/**
 * @version v1.0
 * @ClassName: ILeft
 * @Description: 电梯接口
 * @Author: HC
 */
public interface ILeft {

    // 定义电梯的四种状态 close
    int OPENING_STATE = 1;
    int RUNNING_STATE = 2;
    int CLOSE_STATE = 3;
    int STOP_STATE = 4;

    // 设置电梯的状态
    void setState(int state);

    void open();

    void running();

    void close();

    void stop();
}
